﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace WeChatSDK.WeChatDto.Conversation.ReplyMessage
{
    /// <summary>
    /// 回复音乐消息
    /// </summary>
    [XmlRoot(Namespace = "", IsNullable = false, ElementName = "xml")]
    public class MusicReplyMessageDto: ReplyMessageDto
    {
        /// <summary>
        /// 视频消息的标题
        /// </summary>
        [XmlElement("Title", DataType = "string")]
        public string Title { get; set; }
        /// <summary>
        /// 视频消息的描述
        /// </summary>
        [XmlElement("Description", DataType = "string")]
        public string Description { get; set; }
        /// <summary>
        /// 音乐链接
        /// </summary>
        [XmlElement("MusicURL", DataType = "string")]
        public string MusicURL { get; set; }
        /// <summary>
        /// 高质量音乐链接，WIFI环境优先使用该链接播放音乐
        /// </summary>
        [XmlElement("HQMusicUrl", DataType = "string")]
        public string HQMusicUrl { get; set; }
        /// <summary>
        /// 缩略图的媒体id，通过素材管理中的接口上传多媒体文件，得到的id
        /// </summary>
        [XmlElement("ThumbMediaId", DataType = "string")]
        public string ThumbMediaId { get; set; }
    }
}
